package org.su.webadapter.validate;

import javax.validation.constraints.NotNull;

/**
 * Created by yangchuan on 15/12/22.
 */
public class NullValidator implements IValidator {
    @Override
    public String validate(Object values,Object object) {
        return values == null?null:((NotNull)object).message();
    }
}
